package com.itheima.d2_reflect;

import java.sql.SQLOutput;
import java.util.concurrent.Callable;

public class Test1Class {
    public static void main(String[] args) throws Exception {
        Class c1= Student.class;
        //获取全类名
        System.out.println(c1.getName());
        //获取类名
        System.out.println(c1.getSimpleName());

        Class c2= Class.forName("com.itheima.d2_reflect.Student");
        System.out.println(c2.getName());

        Student s=new Student();
        Class c3=s.getClass();
        System.out.println(c3);


    }

}
